//
//  RecommendRadioListView.h
//  RainbowFM
//
//  Created by Kratos on 14/12/9.
//  Copyright (c) 2014年 RB. All rights reserved.
//  电台列表

#import <UIKit/UIKit.h>
#import <SwipeView/SwipeView.h>

@class RecommendRadioListView;
@protocol RecommendRadioListViewDelegate <NSObject>

@optional
/**
 * 点击的位置
 * @param index 位置
 * @return
 * @author Kratos
 */
- (void)didSelectItemAtIndex:(NSInteger)index view:(RecommendRadioListView *)view;

/**
 * 滑动位置变化
 * @param index 改变后的位置
 * @return
 * @author Kratos
 */
- (void)currentItemIndexDidChange:(NSInteger)index view:(RecommendRadioListView *)view;


@end


@interface RecommendRadioListView : UIView <SwipeViewDataSource,SwipeViewDelegate>
@property (weak, nonatomic) IBOutlet SwipeView *partnersScrollView;
@property (weak, nonatomic) id<RecommendRadioListViewDelegate> delegate;

-(void)updateRadioListData:(NSArray *)radioList;
@end
